package com.delamer.utils;

public class MsgUtil {
    private static final String prefix = "§7[§2Facile§7]";
    private static final String msgPre = "§e";
    private static final String errPre = "§c";

    public static String msg(String str) {
        return playerMsg(str);
    }
    public static String err(String str) {
        return playerErr(str);
    }
    public static String msg(String str,boolean prefix) {
        return prefix?consoleMsg(str):playerMsg(str);
    }
    public static String err(String str,boolean prefix) {
        return prefix?consoleErr(str):playerErr(str);
    }
    public static String consoleMsg(String str) {
        return prefix + msgPre + str;
    }

    public static String consoleErr(String str) {
        return prefix + errPre + str;
    }
    public static String playerMsg(String str) {
        return  msgPre + str;
    }
    public static String playerErr(String str) {
        return errPre + str;
    }
}
